<div>
  <p style="margin:2% 2%;">上传NMEA文件</p>
  <form action="{% url 'myapp:handlenmea' %}" method="post" enctype="multipart/form-data" style="margin:10% 5%;">
  <input type="file" name="nmea" >
  <input style='background:#26A69A;border-radius:2px;color:white;padding:4px;' type="submit" value="选好Nmea文件点此上传">
 </form>
</div>